home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / Scale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  1.5 KB  |  67 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: Scale.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:48:20 $ */
  9. /*
  10. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  11. /*
  12. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  13. #ifndef _XmScale_h
  14. #define _XmScale_h
  15.  
  16.  
  17. #include <Xm/Xm.h>
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. /* Class record constants */
  24.  
  25. externalref WidgetClass xmScaleWidgetClass;
  26.  
  27. /* fast XtIsSubclass define */
  28. #ifndef XmIsScale
  29. #define XmIsScale(w) XtIsSubclass (w, xmScaleWidgetClass)
  30. #endif
  31.  
  32. typedef struct _XmScaleClassRec * XmScaleWidgetClass;
  33. typedef struct _XmScaleRec      * XmScaleWidget;
  34.  
  35.  
  36. /********    Public Function Declarations    ********/
  37. #ifdef _NO_PROTO
  38.  
  39. extern void XmScaleSetValue() ;
  40. extern void XmScaleGetValue() ;
  41. extern Widget XmCreateScale() ;
  42.  
  43. #else
  44.  
  45. extern void XmScaleSetValue( 
  46.                         Widget w,
  47.                         int value) ;
  48. extern void XmScaleGetValue( 
  49.                         Widget w,
  50.                         int *value) ;
  51. extern Widget XmCreateScale( 
  52.                         Widget parent,
  53.                         char *name,
  54.                         ArgList arglist,
  55.                         Cardinal argcount) ;
  56.  
  57. #endif /* _NO_PROTO */
  58. /********    End Public Function Declarations    ********/
  59.  
  60.  
  61. #ifdef __cplusplus
  62. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  63. #endif
  64.  
  65. #endif /* _XmScale_h */
  66. /* DON'T ADD ANYTHING AFTER THIS #endif */
  67.